package com.conghu.crm.workbench.dao;

import com.conghu.crm.workbench.domain.Activity;

import java.util.List;
import java.util.Map;

public interface ActivityDao {
    int insert(Activity activity);

    List<Activity> selectAll();

    List<Activity> search(Map<String, String> map);

    int searchTotal(Map<String, String> map);

    int delete(String[] ids);

    Activity selectById(String id);

    int update(Activity activity);

    Activity selectDetail(String id);
}
